package com.spzx.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.order.domain.OrderForm;
import com.spzx.order.domain.OrderInfo;
import com.spzx.order.domain.TradeVo;

/**
 * @author 作者
 * @create 2025-06-03-18:37
 */
public interface OrderInfoService extends IService<OrderInfo> {
    TradeVo orderTradeData();

    Long submitOrder(OrderForm orderForm);

    void cancelOrder(String orderNo);

    OrderInfo getOrderByOrderNo(String orderNo);

    int getOrderStatus(String orderNo);

    OrderInfo getByOrderNo(String orderNo);

    void payOrder(String orderNo);

    TradeVo buy(Long skuId);
}
